#ifndef __MYDEVICE_H
#define __MYDEVICE_H

#include "Type_def.h"

#define adc_num 40
extern  int16_t tmp_adcData [adc_num];
typedef struct {
	int16_t value1;
	int16_t value2;
	int16_t value3;
	int16_t value4;
}adcValue_type;

extern  adcValue_type adcValue ;
void adc_init(void);
void ADC_dispose (void);
void confirm_scale(void);

void outputControl(u8* outputNumber);
void pwmControl(u8* outputNumber);
void motorControl(u8* buf);
void en_motor(void);
void Input_Feedback(void);

#endif
